<!DOCTYPE html>
<!-- saved from url=(0121)file:///C:/Users/zks/Desktop/2025%E8%AE%BA%E6%96%87/Alphapose%E7%BB%93%E9%A2%98/%E7%B3%BB%E7%BB%9F%E7%94%BB%E9%9D%A2.html -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>中学生危险行为状态监控系统</title>
    <link rel="stylesheet" href="./中学生危险行为状态监控系统_files/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        :root {
            --primary: #1890ff;
            --primary-dark: #096dd9;
            --secondary: #722ed1;
            --danger: #ff4d4f;
            --warning: #faad14;
            --success: #52c41a;
            --bg-dark: #0f172a;
            --bg-darker: #0b1120;
            --bg-card: #1e293b;
            --text-light: #f1f5f9;
            --text-gray: #94a3b8;
            --border-color: #334155;
        }
        
        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            overflow: hidden;
            height: 100vh;
        }
        
        .container {
            display: flex;
            height: 100vh;
        }
        
        /* 登录界面 */
        .login-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
            padding: 20px;
        }
        
        .login-card {
            background: rgba(30, 41, 59, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 40px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border-color);
            text-align: center;
        }
        
        .system-title {
            font-size: 2.2rem;
            margin-bottom: 10px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
        }
        
        .system-subtitle {
            color: var(--text-gray);
            margin-bottom: 30px;
            font-size: 1.1rem;
        }
        
        .input-group {
            margin-bottom: 20px;
            text-align: left;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-gray);
            font-weight: 500;
        }
        
        .input-group input {
            width: 100%;
            padding: 14px 16px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background: var(--bg-card);
            color: var(--text-light);
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.2);
        }
        
        .login-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        
        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(24, 144, 255, 0.4);
        }
        
        /* 主界面 */
        .main-content {
            display: none;
            flex-direction: column;
            height: 100vh;
            width: 100%;
        }
        
        /* 顶部导航 */
        .top-nav {
            background: var(--bg-card);
            padding: 0 24px;
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo-icon {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .logo-text {
            font-size: 1.4rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }
        
        .user-name {
            font-weight: 500;
        }
        
        .logout-btn {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-light);
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .logout-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* 主内容区域 */
        .content-area {
            display: flex;
            flex: 1;
            overflow: hidden;
        }
        
        /* 侧边栏 */
        .sidebar {
            width: 240px;
            background: var(--bg-card);
            border-right: 1px solid var(--border-color);
            padding: 20px 0;
            overflow-y: auto;
        }
        
        .sidebar-section {
            margin-bottom: 30px;
        }
        
        .sidebar-title {
            padding: 0 20px 10px;
            color: var(--text-gray);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .nav-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: var(--text-gray);
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .nav-item:hover, .nav-item.active {
            background: rgba(24, 144, 255, 0.1);
            color: var(--primary);
            border-left: 3px solid var(--primary);
        }
        
        .nav-item i {
            margin-right: 12px;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }
        
        /* 监控区域 */
        .monitor-area {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .monitor-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .location-selector {
            display: flex;
            gap: 10px;
        }
        
        .location-btn {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-light);
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .location-btn.active {
            background: var(--primary);
            border-color: var(--primary);
        }
        
        .monitor-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 20px;
            flex: 1;
            overflow: hidden;
        }
        
        .monitor-item {
            background: var(--bg-card);
            border-radius: 12px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            position: relative;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .monitor-header-bar {
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
        }
        
        .monitor-location {
            font-weight: 600;
            color: white;
        }
        
        .monitor-status {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--success);
        }
        
        .monitor-feed {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        /* 警报区域 */
        .alert-area {
            width: 320px;
            background: var(--bg-card);
            border-left: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .alert-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .alert-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .alert-badge {
            background: var(--danger);
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .alert-list {
            flex: 1;
            overflow-y: auto;
            padding: 10px;
        }
        
        .alert-item {
            background: rgba(255, 77, 79, 0.1);
            border: 1px solid rgba(255, 77, 79, 0.2);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .alert-item:hover {
            background: rgba(255, 77, 79, 0.15);
            transform: translateY(-2px);
        }
        
        .alert-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .alert-type {
            font-weight: 600;
            color: var(--danger);
        }
        
        .alert-time {
            color: var(--text-gray);
            font-size: 0.85rem;
        }
        
        .alert-location {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
            color: var(--text-gray);
            font-size: 0.9rem;
        }
        
        .alert-description {
            font-size: 0.95rem;
            margin-bottom: 12px;
            line-height: 1.5;
        }
        
        .alert-actions {
            display: flex;
            gap: 10px;
        }
        
        .alert-btn {
            flex: 1;
            padding: 8px;
            border-radius: 6px;
            border: none;
            color: white;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-size: 0.9rem;
        }
        
        .alert-btn.resolve {
            background: var(--success);
        }
        
        .alert-btn.resolve:hover {
            background: #3daa15;
        }
        
        .alert-btn.notify {
            background: var(--primary);
        }
        
        .alert-btn.notify:hover {
            background: var(--primary-dark);
        }
        
        /* 警报通知 */
        .alert-notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(255, 77, 79, 0.95);
            color: white;
            padding: 20px;
            border-radius: 12px;
            width: 320px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            display: none;
            animation: alertPulse 1.5s infinite;
        }
        
        @keyframes alertPulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(255, 77, 79, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .notification-title {
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
        }
        
        .notification-content {
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .notification-actions {
            display: flex;
            gap: 10px;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .monitor-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(4, 1fr);
            }
            
            .alert-area {
                width: 280px;
            }
        }
        
        @media (max-width: 992px) {
            .content-area {
                flex-direction: column;
            }
            
            .alert-area {
                width: 100%;
                height: 300px;
                border-left: none;
                border-top: 1px solid var(--border-color);
            }
        }
    </style>
</head>
<body>
    <!-- 登录界面 -->
    <div class="login-container" id="loginPage" style="display: none;">
        <div class="login-card">
            <h1 class="system-title">中学生危险行为状态监控系统</h1>
            <p class="system-subtitle">实时监测 · 智能预警 · 安全保障</p>
            
            <div class="input-group">
                <label for="username">用户名</label>
                <input type="text" id="username" placeholder="请输入管理员账号">
            </div>
            
            <div class="input-group">
                <label for="password">密码</label>
                <input type="password" id="password" placeholder="请输入管理员密码">
            </div>
            
            <button class="login-btn" id="loginBtn">
                <i class="fas fa-lock"></i> 登录系统
            </button>
        </div>
    </div>
    
    <!-- 主界面 -->
    <div class="main-content" id="mainContent" style="display: flex;">
        <!-- 顶部导航 -->
        <div class="top-nav">
            <div class="logo">
                <div class="logo-icon">
                    <i class="fas fa-shield-alt"></i>
                </div>
                <div class="logo-text">中学生危险行为状态监控系统</div>
            </div>
            
            <div class="user-info">
                <div class="user-avatar">A</div>
                <div class="user-name">管理员</div>
                <button class="logout-btn" id="logoutBtn">
                    <i class="fas fa-sign-out-alt"></i> 退出
                </button>
            </div>
        </div>
        
        <!-- 主内容区域 -->
        <div class="content-area">
            <!-- 侧边栏 -->
            <div class="sidebar">
                <div class="sidebar-section">
                    <div class="sidebar-title">监控管理</div>
                    <div class="nav-item active">
                        <i class="fas fa-video"></i>
                        <span>实时监控</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-history"></i>
                        <span>历史记录</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-map-marked-alt"></i>
                        <span>区域管理</span>
                    </div>
                </div>
                
                <div class="sidebar-section">
                    <div class="sidebar-title">警报管理</div>
                    <div class="nav-item">
                        <i class="fas fa-bell"></i>
                        <span>实时警报</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-clipboard-list"></i>
                        <span>警报记录</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-cog"></i>
                        <span>规则设置</span>
                    </div>
                </div>
                
                <div class="sidebar-section">
                    <div class="sidebar-title">系统设置</div>
                    <div class="nav-item">
                        <i class="fas fa-user-cog"></i>
                        <span>用户管理</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-server"></i>
                        <span>设备管理</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-chart-line"></i>
                        <span>数据分析</span>
                    </div>
                    <div class="nav-item">
                        <i class="fas fa-info-circle"></i>
                        <span>系统信息</span>
                    </div>
                </div>
            </div>
            
            <!-- 监控区域 -->
            <div class="monitor-area">
                <div class="monitor-header">
                    <h2 class="section-title">实时监控画面</h2>
                    <div class="location-selector">
                        <button class="location-btn">全部区域</button>
                        <button class="location-btn">教学楼</button>
                        <button class="location-btn">操场</button>
                        <button class="location-btn active">食堂</button>
                        <button class="location-btn">宿舍</button>
                    </div>
                </div>
                
                <div class="monitor-grid">
                    <div class="monitor-item">
                        <div class="monitor-header-bar">
                            <div class="monitor-location">教学楼走廊</div>
                            <div class="monitor-status">
                                <div class="status-indicator"></div>
                                <span>在线</span>
                            </div>
                        </div>
                        <img src="./中学生危险行为状态监控系统_files/u=1367289465,142777234&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG" class="monitor-feed" alt="教学楼监控">
                    </div>
                    
                    <div class="monitor-item">
                        <div class="monitor-header-bar">
                            <div class="monitor-location">学校操场</div>
                            <div class="monitor-status">
                                <div class="status-indicator"></div>
                                <span>在线</span>
                            </div>
                        </div>
                        <img src="./中学生危险行为状态监控系统_files/u=57717514,3290930142&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG" class="monitor-feed" alt="操场监控">
                    </div>
                    
                    <div class="monitor-item">
                        <div class="monitor-header-bar">
                            <div class="monitor-location">学生食堂</div>
                            <div class="monitor-status">
                                <div class="status-indicator"></div>
                                <span>在线</span>
                            </div>
                        </div>
                        <img src="./中学生危险行为状态监控系统_files/u=2814593226,3442135848&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG" class="monitor-feed" alt="食堂监控">
                    </div>
                    
                    <div class="monitor-item">
                        <div class="monitor-header-bar">
                            <div class="monitor-location">宿舍入口</div>
                            <div class="monitor-status">
                                <div class="status-indicator"></div>
                                <span>在线</span>
                            </div>
                        </div>
                        <img src="./中学生危险行为状态监控系统_files/u=2618724147,2878400080&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG" class="monitor-feed" alt="宿舍监控">
                    </div>
                </div>
            </div>
            
            <!-- 警报区域 -->
            <div class="alert-area">
                <div class="alert-header">
                    <h3 class="alert-title">实时警报</h3>
                    <div class="alert-badge">2</div>
                </div>
                
                <div class="alert-list"><div class="alert-item">
                    <div class="alert-item-header">
                        <div class="alert-type">聚集冲突</div>
                        <div class="alert-time">刚刚</div>
                    </div>
                    <div class="alert-location">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>操场篮球场</span>
                    </div>
                    <div class="alert-description">
                        检测到多名学生在篮球场聚集，发生推搡行为，存在冲突升级风险。
                    </div>
                    <div class="alert-actions">
                        <button class="alert-btn resolve">标记为处理</button>
                        <button class="alert-btn notify">通知安保</button>
                    </div>
                </div><div class="alert-item">
                    <div class="alert-item-header">
                        <div class="alert-type">聚集冲突</div>
                        <div class="alert-time">刚刚</div>
                    </div>
                    <div class="alert-location">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>操场篮球场</span>
                    </div>
                    <div class="alert-description">
                        检测到多名学生在篮球场聚集，发生推搡行为，存在冲突升级风险。
                    </div>
                    <div class="alert-actions">
                        <button class="alert-btn resolve">标记为处理</button>
                        <button class="alert-btn notify">通知安保</button>
                    </div>
                </div>
                    <div class="alert-item">
                        <div class="alert-item-header">
                            <div class="alert-type">打架斗殴</div>
                            <div class="alert-time">刚刚</div>
                        </div>
                        <div class="alert-location">
                            <i class="fas fa-map-marker-alt"></i>
                            <span>教学楼3楼走廊</span>
                        </div>
                        <div class="alert-description">
                            检测到两名学生发生肢体冲突，动作幅度较大，疑似打架行为。
                        </div>
                        <div class="alert-actions">
                            <button class="alert-btn resolve">标记为处理</button>
                            <button class="alert-btn notify">通知安保</button>
                        </div>
                    </div>
                    
                    <div class="alert-item">
                        <div class="alert-item-header">
                            <div class="alert-type">攀爬高处</div>
                            <div class="alert-time">5分钟前</div>
                        </div>
                        <div class="alert-location">
                            <i class="fas fa-map-marker-alt"></i>
                            <span>操场东侧围墙</span>
                        </div>
                        <div class="alert-description">
                            检测到一名学生攀爬操场围墙，存在高处跌落风险。
                        </div>
                        <div class="alert-actions">
                            <button class="alert-btn resolve">标记为处理</button>
                            <button class="alert-btn notify">通知安保</button>
                        </div>
                    </div>
                    
                    <div class="alert-item">
                        <div class="alert-item-header">
                            <div class="alert-type">意外摔倒</div>
                            <div class="alert-time">今天 10:23</div>
                        </div>
                        <div class="alert-location">
                            <i class="fas fa-map-marker-alt"></i>
                            <span>食堂入口处</span>
                        </div>
                        <div class="alert-description">
                            检测到一名学生在食堂入口处意外摔倒，长时间未起身。
                        </div>
                        <div class="alert-actions">
                            <button class="alert-btn resolve">标记为处理</button>
                            <button class="alert-btn notify">通知校医</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 警报通知 -->
    <div class="alert-notification" id="alertNotification" style="display: none;">
        <div class="notification-header">
            <div class="notification-title">
                <i class="fas fa-exclamation-triangle"></i>
                <span>发现危险行为！</span>
            </div>
            <button class="notification-close" id="closeNotification">
                <i class="fas fa-times"></i>
            </button>
        </div>
        <div class="notification-content">
            教学楼3楼走廊检测到打架斗殴行为，请立即处理！
        </div>
        <div class="notification-actions">
            <button class="alert-btn notify">通知安保人员</button>
            <button class="alert-btn resolve">查看详情</button>
        </div>
    </div>
    
    <script>
        // 登录功能
        document.getElementById('loginBtn').addEventListener('click', function() {
            const username = document.getElementById('username').value;
            const password = document.getElementById('password').value;
            
            if(username && password) {
                document.getElementById('loginPage').style.display = 'none';
                document.getElementById('mainContent').style.display = 'flex';
                
                // 3秒后显示警报通知
                setTimeout(() => {
                    document.getElementById('alertNotification').style.display = 'block';
                }, 3000);
            } else {
                alert('请输入用户名和密码！');
            }
        });
        
        // 退出功能
        document.getElementById('logoutBtn').addEventListener('click', function() {
            document.getElementById('mainContent').style.display = 'none';
            document.getElementById('loginPage').style.display = 'flex';
            document.getElementById('alertNotification').style.display = 'none';
        });
        
        // 关闭警报通知
        document.getElementById('closeNotification').addEventListener('click', function() {
            document.getElementById('alertNotification').style.display = 'none';
        });
        
        // 区域选择按钮
        const locationButtons = document.querySelectorAll('.location-btn');
        locationButtons.forEach(button => {
            button.addEventListener('click', function() {
                locationButtons.forEach(btn => btn.classList.remove('active'));
                this.classList.add('active');
            });
        });
        
        // 导航项选择
        const navItems = document.querySelectorAll('.nav-item');
        navItems.forEach(item => {
            item.addEventListener('click', function() {
                navItems.forEach(nav => nav.classList.remove('active'));
                this.classList.add('active');
            });
        });
        
        // 警报按钮功能
        const alertButtons = document.querySelectorAll('.alert-btn');
        alertButtons.forEach(button => {
            button.addEventListener('click', function() {
                if(this.classList.contains('notify')) {
                    alert('已通知安保人员前往处理！');
                } else if(this.classList.contains('resolve')) {
                    this.closest('.alert-item').style.opacity = '0.5';
                    setTimeout(() => {
                        this.closest('.alert-item').style.display = 'none';
                    }, 300);
                }
            });
        });
        
        // 模拟警报功能
        setInterval(() => {
            const alerts = document.querySelectorAll('.alert-item');
            if(alerts.length < 5) {
                const alertList = document.querySelector('.alert-list');
                const newAlert = document.createElement('div');
                newAlert.className = 'alert-item';
                newAlert.innerHTML = `
                    <div class="alert-item-header">
                        <div class="alert-type">聚集冲突</div>
                        <div class="alert-time">刚刚</div>
                    </div>
                    <div class="alert-location">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>操场篮球场</span>
                    </div>
                    <div class="alert-description">
                        检测到多名学生在篮球场聚集，发生推搡行为，存在冲突升级风险。
                    </div>
                    <div class="alert-actions">
                        <button class="alert-btn resolve">标记为处理</button>
                        <button class="alert-btn notify">通知安保</button>
                    </div>
                `;
                alertList.prepend(newAlert);
                
                // 添加新警报的事件监听
                newAlert.querySelector('.alert-btn.notify').addEventListener('click', function() {
                    alert('已通知安保人员前往处理！');
                });
                
                newAlert.querySelector('.alert-btn.resolve').addEventListener('click', function() {
                    newAlert.style.opacity = '0.5';
                    setTimeout(() => {
                        newAlert.style.display = 'none';
                    }, 300);
                });
            }
        }, 15000);
    </script>

</body></html>